using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Gratamira.CapaNegocio;

namespace Gratamira.Presentacion
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Usuario.XPath = Application.StartupPath + "\\Conexiones.xml";

            frmLogon pantalla = new frmLogon();
            pantalla.ShowDialog();
            if (pantalla.resultado == ' ')
            {
                pantalla.Dispose();
                Application.Run(new frmPrincipal());            
            }
        }
    }
}